package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Department;
import cn.wolfcode.crm.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IDepartmentService {


    List<Department> selectAll();


    PageInfo<Department> selectByQo(QueryObject queryObject);

    void deleteBydeptId(Long deptId);

    void saveOrUpdate(Department department);

    Department selectBydeptId(Long deptId);
}
